]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
7 years agoanimation: Load sliced image using resource scale, and reload on change
Marco Trevisan (Treviño) [Thu, 30 Nov 2017 01:36:05 +0000 (02:36 +0100)]
animation: Load sliced image using resource scale, and reload on change

Also make sure that the textures size is matching the container size.

https://bugzilla.gnome.org/show_bug.cgi?id=765011

7 years agologinDialog: Load logo file texture given resource scale
Marco Trevisan (Treviño) [Thu, 30 Nov 2017 01:34:42 +0000 (02:34 +0100)]
loginDialog: Load logo file texture given resource scale

And reload the logo if the resource scale changes.

https://bugzilla.gnome.org/show_bug.cgi?id=765011

7 years agost-texture-cache: Use GSlice to manage memory of leaders data
Marco Trevisan (Treviño) [Wed, 27 Feb 2019 02:48:43 +0000 (03:48 +0100)]
st-texture-cache: Use GSlice to manage memory of leaders data

This allows some memory optimizations when possible, so let's use it.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/5

7 years agost-texture-cache: use StImageContent for cairo bound surface
Marco Trevisan (Treviño) [Fri, 1 Mar 2019 05:56:26 +0000 (06:56 +0100)]
st-texture-cache: use StImageContent for cairo bound surface

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/5

7 years agost-texture-cache: Cancel sliced image loading on target actor destroy
Marco Trevisan (Treviño) [Thu, 30 Nov 2017 01:48:02 +0000 (02:48 +0100)]
st-texture-cache: Cancel sliced image loading on target actor destroy

It might happen that the target clutter actor that we return on call
of st_texture_cache_load_sliced_image might be destroyed while the
loading task is still running. To protect from this, let's connect
to "destroy" signal and when this happens we use a cancellable to
stop the task.

This allows to safely reuse the return value of this function to
cancel the execution and avoiding that load_callback is called
even for a request that is not anymore under our control.

https://bugzilla.gnome.org/show_bug.cgi?id=765011

7 years agost-texture-cache: Load sliced contents with REQUEST_CONTENTENT_SIZE
Marco Trevisan (Treviño) [Wed, 27 Feb 2019 02:31:19 +0000 (03:31 +0100)]
st-texture-cache: Load sliced contents with REQUEST_CONTENTENT_SIZE

When loading an actor for a sliced image actor, we can now use the
REQUEST_CONTENT_SIZE request-mode for the actor since we the content image
has now a predictable size and thus we can be sure that the size will be applied
taking care of the resource scale.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/5

7 years agost-texture-cache: Set sliced actor size in logical size
Marco Trevisan (Treviño) [Mon, 25 Feb 2019 20:26:46 +0000 (21:26 +0100)]
st-texture-cache: Set sliced actor size in logical size

The actor size should be set in logical size more than in the actual size
of the texture when using resource scale.

https://bugzilla.gnome.org/show_bug.cgi?id=765011
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/5

7 years agost-icon: Add resource-scale support
Jonas Ådahl [Thu, 11 May 2017 04:35:09 +0000 (06:35 +0200)]
st-icon: Add resource-scale support

This commit adds support for scaling the StIcon resource (the icon
texture) according to the resource scale.

https://bugzilla.gnome.org/show_bug.cgi?id=765011

7 years agost-texture-cache: Use StContentImage to create actor contents
Marco Trevisan (Treviño) [Wed, 27 Feb 2019 02:18:39 +0000 (03:18 +0100)]
st-texture-cache: Use StContentImage to create actor contents

This will allow to use resource-scale aware content that will use a preferred
size that takes in account the icon scaling and the resource scaling.

If no size is passed we should just divide the actual resource size by the
resource scale, as we assume that it's loaded with such scaling applied.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/5
https://bugzilla.gnome.org/show_bug.cgi?id=765011

7 years agost-image-content: Wrap ClutterImage with explicit preferred size
Marco Trevisan (Treviño) [Tue, 26 Feb 2019 23:23:40 +0000 (00:23 +0100)]
st-image-content: Wrap ClutterImage with explicit preferred size

Create StImageContent as a simple ClutterImage with preferred width/height
properties in order to be able to use explicit sizing when creating clutter
contents that will be applied to actors whose size depends on the content itself.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/5

7 years agost-texture-cache: Separate 'scale' to 'paint_scale' and 'resource_scale'
Marco Trevisan (Treviño) [Thu, 11 May 2017 04:25:00 +0000 (06:25 +0200)]
st-texture-cache: Separate 'scale' to 'paint_scale' and 'resource_scale'

Instead of just passing a scale when getting a cached icon, pass both a
'paint_scale', the scale of which the icon will be painted on the
stage, and a 'resource_scale', the scale of the resource used for
painting.

In effect, the texture size will use the scale 'paint_scale * resource_scale'
in a ceiled value while the size of the actor will use 'paint_scale' when
determining the size.
this would load a bigger texture, but the downscaling would keep the visual
quality.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/5
https://bugzilla.gnome.org/show_bug.cgi?id=765011

7 years agost: Create shadow pipeline taking resource scale in account
Marco Trevisan (Treviño) [Mon, 25 Feb 2019 14:42:51 +0000 (15:42 +0100)]
st: Create shadow pipeline taking resource scale in account

The shadow pipeline is created doing software blurring of the texture so the
shadow spec blur parameter should be scaled accordingly with the texture scaling
otherwise we won't take enough pixels in account creating stronger shadows.

https://bugzilla.gnome.org/show_bug.cgi?id=765011
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/5

7 years agost: Use scaled surfaces for creating cairo background shadows
Marco Trevisan (Treviño) [Mon, 25 Feb 2019 12:45:02 +0000 (13:45 +0100)]
st: Use scaled surfaces for creating cairo background shadows

Create the surfaces for background shadows at scaled sizes and then draw on them
using logical coordinates, by setting the surface device scale accordingly.

Use the said surface scale when generating the actual shadow cairo pattern
but in such case, to reduce the number of code changes, is better to work in
absolute coordinates, and to do so:
  1) Create a temporary shadow-spec copy with scaled values to absolute sizes
  2) Invert the scaling on the shadow matrix
  3) Do the actual painting in absolute coordinates
  4) Set the shadow matrix scaling back to the logical coordinates.

Finally scale down the created shadow pattern surface size when painting it,
applying again a reverse scale to the matrix.

https://bugzilla.gnome.org/show_bug.cgi?id=765011
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/5

7 years agost-shadow: Define autoptr cleanup function for StShadow
Marco Trevisan (Treviño) [Mon, 25 Feb 2019 14:53:25 +0000 (15:53 +0100)]
st-shadow: Define autoptr cleanup function for StShadow

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/5

7 years agost-theme-node: Paint elements in resource-scale scaled surfaces
Marco Trevisan (Treviño) [Sat, 28 Oct 2017 08:57:26 +0000 (10:57 +0200)]
st-theme-node: Paint elements in resource-scale scaled surfaces

Pass resource-scale to drawing phase, and use it to create texture
surfaces scaled with the widget current scaling.
Also redraw by default widgets when the resource scale changes.

https://bugzilla.gnome.org/show_bug.cgi?id=765011

7 years agost-shadow: Ceil size before comparing with texture
Jonas Ådahl [Thu, 26 Oct 2017 09:15:46 +0000 (11:15 +0200)]
st-shadow: Ceil size before comparing with texture

A fractional resource scale would mean we never use the fast path for
creating the shadow, because we'd cast the int to a float before
comparing, which would never match.

Instead compare the expected texture size with the source texture, to
actually potentially trigger the fast path.

https://bugzilla.gnome.org/show_bug.cgi?id=765011

7 years agost-scroll-view-fade: Include outer bound of pixel on border
Jonas Ådahl [Fri, 20 Oct 2017 04:10:58 +0000 (06:10 +0200)]
st-scroll-view-fade: Include outer bound of pixel on border

The fade shader will draw the fade effect up until the border pixel. If
we set the bottom right coordinate to the outer edge of the pixel we
might end up not drawing the fade effect on all of the pixels. This
could for example happen if one logical pixel (clutter stage pixel)
consists of more than one physical pixel.

https://bugzilla.gnome.org/show_bug.cgi?id=765011

7 years agost-label: Paint shadow using resource-scaled texture
Marco Trevisan (Treviño) [Sat, 2 Sep 2017 02:11:39 +0000 (04:11 +0200)]
st-label: Paint shadow using resource-scaled texture

https://bugzilla.gnome.org/show_bug.cgi?id=765011

7 years agost-private: Scale shadows accordingly to actor resource scaling
Marco Trevisan (Treviño) [Sat, 2 Sep 2017 02:08:55 +0000 (04:08 +0200)]
st-private: Scale shadows accordingly to actor resource scaling

Use scaled offscreen framebuffer to paint shadows so that it will match the
scaling applied to the actual actor.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/5
https://bugzilla.gnome.org/show_bug.cgi?id=765011

7 years agost-drawing-area: Draw content taking care of the resource_scale
Marco Trevisan (Treviño) [Mon, 31 Jul 2017 12:08:29 +0000 (14:08 +0200)]
st-drawing-area: Draw content taking care of the resource_scale

https://bugzilla.gnome.org/show_bug.cgi?id=765011

7 years agost-widget: Introduce widget resource scale
Jonas Ådahl [Thu, 11 May 2017 04:30:04 +0000 (06:30 +0200)]
st-widget: Introduce widget resource scale

This commit makes StWidget manage the scale of which its associated
resources should be multiplied with. The resource scale is calculated
by clutter, and is retrieved by clutter_actor_get_resource_scale(). Due
to the resource scale not always being available, the getter may fail,
and the actual widget that draws the content will have to deal with
this situation.

As the resource scale depends on where on the stage the widget is drawn,
the resource scale will in general be available once the widget is
mapped.

https://bugzilla.gnome.org/show_bug.cgi?id=765011

7 years agoUpdate Indonesian translation
Kukuh Syafaat [Fri, 1 Mar 2019 15:32:29 +0000 (15:32 +0000)]
Update Indonesian translation

7 years agoUpdated Danish translation
Ask Hjorth Larsen [Thu, 28 Feb 2019 22:09:39 +0000 (23:09 +0100)]
Updated Danish translation

7 years agogvc: Update submodule to up-to-date version
Robert Mader [Thu, 28 Feb 2019 20:51:41 +0000 (21:51 +0100)]
gvc: Update submodule to up-to-date version

This frees us from all remaining '‘g_type_class_add_private’ is deprecated'
warnings.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/427

7 years agobuild: Bump gjs requirement
Florian Müllner [Thu, 28 Feb 2019 18:35:01 +0000 (19:35 +0100)]
build: Bump gjs requirement

While we don't actually require a more recent version at build time,
we do need the latest stable version at runtime. There's no strong
reason for making that differentiation, so bump the requirement.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1006

7 years agolookingGlass: Use symbolic icon for close button
Marco Trevisan (Treviño) [Thu, 28 Feb 2019 15:20:47 +0000 (16:20 +0100)]
lookingGlass: Use symbolic icon for close button

As per commit 4d2dce2c, the actual close button is generated using custom css
and a symbolic icon.

Apply the same change to lookingGlass too.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/425

7 years agoUpdate Serbian translation
Марко Костић [Thu, 28 Feb 2019 13:26:19 +0000 (13:26 +0000)]
Update Serbian translation

7 years agoUpdate Italian translation
Milo Casagrande [Thu, 28 Feb 2019 08:14:02 +0000 (08:14 +0000)]
Update Italian translation

7 years agoUpdate French translation
Julien Humbert [Thu, 28 Feb 2019 07:39:24 +0000 (07:39 +0000)]
Update French translation

7 years agoUpdate Korean translation
Changwoo Ryu [Thu, 28 Feb 2019 03:16:35 +0000 (03:16 +0000)]
Update Korean translation

7 years agona-tray-manager: Use gdk_screen_get_default() and gdk_x11_get_default_screen()
Robert Mader [Tue, 26 Feb 2019 20:06:20 +0000 (21:06 +0100)]
na-tray-manager: Use gdk_screen_get_default() and gdk_x11_get_default_screen()

instead of explicit screen arguments and `gdk_screen_get_number()`, as nowadays there
is always only one screen. This silences some deprecation warnings and removes
deprecated API.

Bonus: some code style cleanups

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/422

7 years agoci: Use custom image for JS checks
Florian Müllner [Wed, 13 Feb 2019 04:49:37 +0000 (05:49 +0100)]
ci: Use custom image for JS checks

Running dnf to update and install additional packages every time
the job is executed slows down the CI pipeline. Avoid this by
using another custom images for JS source checks.

In addition to the js shell we use for the existing syntax check,
also include eslint for future jobs and some extension-specific
tooling to make the image more useful to extension authors.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/408

7 years agoci: Check that pot file is generated correctly
Florian Müllner [Sat, 9 Feb 2019 03:51:00 +0000 (04:51 +0100)]
ci: Check that pot file is generated correctly

This is to guard against the now infamous xgettext bug[0].

[0] https://savannah.gnu.org/bugs/?50920#comment5

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/408

7 years agoci: Add test stage
Florian Müllner [Tue, 12 Feb 2019 21:39:47 +0000 (22:39 +0100)]
ci: Add test stage

We never gained a proper test suite, but run at least the tests we
have.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/408

7 years agoci: Add build stage
Florian Müllner [Tue, 12 Feb 2019 16:53:42 +0000 (17:53 +0100)]
ci: Add build stage

So far we are only performing a basic syntax check on javascript
sources; it's time to test the C code as well. As mutter is tightly
coupled, we bite the bullet and build it as well, either using a
matching branch (if it exists), or current master.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/408

7 years agoci: Skip source_check stage when appropriate
Florian Müllner [Tue, 12 Feb 2019 19:17:07 +0000 (20:17 +0100)]
ci: Skip source_check stage when appropriate

We don't have to run the static analyzer on javascript sources when
no javascript source was changed.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/408

7 years agoci: Sync check-commit-log script with mutter
Florian Müllner [Sat, 16 Feb 2019 16:44:27 +0000 (17:44 +0100)]
ci: Sync check-commit-log script with mutter

A couple of cleanups came out from the review in mutter, catch
up with those.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/408

7 years agoaggregateLayout: Fix natural width computation
Florian Müllner [Mon, 25 Feb 2019 22:31:45 +0000 (23:31 +0100)]
aggregateLayout: Fix natural width computation

Ouch, this went unnoticed for a long time: As the minimum size of menu
items is generally small (because its label can be ellipsized), we are
requesting the unellipsized width of the last "size child" instead of
the widest one.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/996

7 years agotest-theme: Stop using ClutterCairoTexture
Florian Müllner [Tue, 26 Feb 2019 02:00:05 +0000 (03:00 +0100)]
test-theme: Stop using ClutterCairoTexture

It's deprecated, so use one of our own types for testing type
inheritance.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/420

7 years agona-tray-child: Silence some deprecation warnings
Robert Mader [Mon, 25 Feb 2019 15:03:14 +0000 (16:03 +0100)]
na-tray-child: Silence some deprecation warnings

Use `gdk_x11_display_error_trap_...` instead of `gdk_error_trap_...`

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/417

7 years agoshell-tray-icon: Silence some deprecation warnings
Robert Mader [Mon, 25 Feb 2019 15:01:57 +0000 (16:01 +0100)]
shell-tray-icon: Silence some deprecation warnings

Use `gdk_x11_display_error_trap_...` instead of `gdk_error_trap_...`

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/417

7 years agost-clipboard: Remove get/set_property functions.
Andrea Azzarone [Fri, 22 Feb 2019 13:36:27 +0000 (14:36 +0100)]
st-clipboard: Remove get/set_property functions.

Remove st_clipboard_get_property and st_clipboard_set_property because they are
identical to the default implementation.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/414

7 years agotheme: Add bottom padding for sub menus
Alex Monday [Sat, 23 Feb 2019 22:46:03 +0000 (03:46 +0500)]
theme: Add bottom padding for sub menus

Prevents overlapping sub menu borders with menu item background.

Closes https://gitlab.gnome.org/GNOME/gnome-shell/issues/987

7 years agoUpdate Russian translation
Stas Solovey [Sun, 24 Feb 2019 20:48:43 +0000 (20:48 +0000)]
Update Russian translation

7 years agoUpdate Basque translation
Asier Sarasua Garmendia [Sat, 23 Feb 2019 20:43:56 +0000 (20:43 +0000)]
Update Basque translation

7 years agoUpdate Esperanto translation
Carmen Bianca BAKKER [Sat, 23 Feb 2019 09:23:49 +0000 (09:23 +0000)]
Update Esperanto translation

7 years agoBump version to 3.31.91
Florian Müllner [Thu, 21 Feb 2019 18:58:25 +0000 (19:58 +0100)]
Bump version to 3.31.91

Update NEWS.

7 years agoUpdate Icelandic translation
Sveinn í Felli [Thu, 21 Feb 2019 11:19:54 +0000 (11:19 +0000)]
Update Icelandic translation

(cherry picked from commit bfcfa64456b2b61cfa54fee9f006880b41aa9603)

7 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Thu, 21 Feb 2019 01:06:52 +0000 (01:06 +0000)]
Update Brazilian Portuguese translation

7 years agoshellDBus: Add grabFlags parameter
Andrea Azzarone [Wed, 18 Jul 2018 18:26:44 +0000 (20:26 +0200)]
shellDBus: Add grabFlags parameter

Add an grabFlags parameter to the GrabAccelerator and GrabAccelerators dbus
methods. This will allow e.g. Gnome Settings Daemon to create shortcuts that
should discard key-repeated events.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/156

Fixes: https://gitlab.gnome.org/GNOME/gnome-settings-daemon/issues/68
7 years agoUpdated Danish translation
Alan Mortensen [Sat, 16 Feb 2019 19:56:32 +0000 (20:56 +0100)]
Updated Danish translation

7 years agoUpdate Kazakh translation
Baurzhan Muftakhidinov [Sat, 16 Feb 2019 10:54:56 +0000 (10:54 +0000)]
Update Kazakh translation

7 years agoUpdate Scottish Gaelic translation
Gun Chleoc [Sat, 16 Feb 2019 09:34:08 +0000 (09:34 +0000)]
Update Scottish Gaelic translation

(cherry picked from commit ea3d897439366ec75d5b399ec7b421bda5682ff5)

7 years agoctrlAltTab: Fix more fallout from ES6 classes
Florian Müllner [Fri, 15 Feb 2019 16:15:04 +0000 (17:15 +0100)]
ctrlAltTab: Fix more fallout from ES6 classes

Since ShellGenericContainer was removed, switcher popups and lists
are StWidget subclasses rather than plain JS classes.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/411

7 years agoUpdate Indonesian translation
Kukuh Syafaat [Thu, 14 Feb 2019 15:19:05 +0000 (15:19 +0000)]
Update Indonesian translation

7 years agoUpdate Scottish Gaelic translation
Gun Chleoc [Thu, 14 Feb 2019 09:03:50 +0000 (09:03 +0000)]
Update Scottish Gaelic translation

(cherry picked from commit 5979f872957a7c0588ac6c8b3f96b2f999047763)

7 years agogitlab-ci.yml: Add check for issue or MR URL
Jonas Ådahl [Wed, 13 Feb 2019 19:34:07 +0000 (20:34 +0100)]
gitlab-ci.yml: Add check for issue or MR URL

This adds a pipeline stage for merge requests that checks that the
commit message contains an URL to either a issue or a merge request.
This means that for merge requests without corresponding issues will
always fail initially, as the merge request URL is not known until after
it is created. This is still arguably better than accidentally merging
merge requests without URLs.

Taken from https://gitlab.gnome.org/GNOME/mutter/merge_requests/440.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/410

7 years agoREADME.md: Add contribution section
Jonas Ådahl [Wed, 13 Feb 2019 19:30:21 +0000 (20:30 +0100)]
README.md: Add contribution section

Include a link to where to create merge requests, and describe the
requirements regarding commit messages which we are about to enforce.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/410

7 years agocalendar: Load interface description from resource
Florian Müllner [Tue, 12 Feb 2019 18:40:13 +0000 (19:40 +0100)]
calendar: Load interface description from resource

Here's a template string with '/' that escaped commit 94423151b2,
resulting in an xgettext warning when generating the .pot file.

Simply move it into the resource like the other interface descriptions
to make xgettext happy again.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/407

7 years agoAdd a Taquin renamed desktop id.
Arnaud Bonatti [Wed, 13 Feb 2019 12:23:47 +0000 (13:23 +0100)]
Add a Taquin renamed desktop id.

Taquin is org.gnome.Taquin.

7 years agoAdd the 2048 renamed desktop id.
Arnaud Bonatti [Wed, 13 Feb 2019 12:17:54 +0000 (13:17 +0100)]
Add the 2048 renamed desktop id.

gnome-2048 id is now set to
org.gnome.TwentyFortyEight.

7 years agoChange Iagno renamed desktop id.
Arnaud Bonatti [Wed, 13 Feb 2019 12:12:24 +0000 (13:12 +0100)]
Change Iagno renamed desktop id.

Iagno is org.gnome.Reversi,
instead of org.gnome.Iagno.

7 years agoClean out some eclipse artefacts
Florian Müllner [Tue, 12 Feb 2019 19:31:46 +0000 (20:31 +0100)]
Clean out some eclipse artefacts

Someone added those in the mists of time, likely by mistake.

7 years agoUpdated Slovenian translation
Matej Urbančič [Tue, 12 Feb 2019 11:29:23 +0000 (12:29 +0100)]
Updated Slovenian translation

7 years agoUpdate Swedish translation
Anders Jonsson [Mon, 11 Feb 2019 18:01:01 +0000 (18:01 +0000)]
Update Swedish translation

7 years agotexture-cache: Use content size for returned images
Florian Müllner [Sat, 9 Feb 2019 18:16:15 +0000 (19:16 +0100)]
texture-cache: Use content size for returned images

Since commit deec0bf2550, the texture cache is based on ClutterImage
rather than ClutterTexture. As ClutterImage (like all ClutterContent)
is only concerned with painting, it doesn't influence the size of the
actor it is added to at all, and the returned actor will now stay at
size 0x0 after the image has been loaded.

Set up the actor to follow the content's size instead, to get closer
to the previous behavior.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/402

7 years agosystem: Always use default avatar in switch-user submenu
Florian Müllner [Tue, 5 Feb 2019 12:55:14 +0000 (13:55 +0100)]
system: Always use default avatar in switch-user submenu

It is too small to be really useful, and sticks out being the
only color icon.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/957

7 years agowindowManager: Only allow top-drag gesture if focus window is fullscreen
Jonas Dreßler [Sat, 9 Feb 2019 22:40:02 +0000 (23:40 +0100)]
windowManager: Only allow top-drag gesture if focus window is fullscreen

The top drag gesture is not of any use if the topmost window is not
a fullscreen window and will only block events near the important top
screen edge (i.e. the panel). To fix this, only enable this gesture if
the focus window is a fullscreen window.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/552

7 years agoaggregateMenu: Don't use system menu for width computation
Florian Müllner [Sat, 9 Feb 2019 06:52:28 +0000 (07:52 +0100)]
aggregateMenu: Don't use system menu for width computation

If the user's real name is too long to fit the menu comfortably, we are
supposed to use the username instead. However since commit f8e5e3e435f,
we no longer set a max-width on the menu as a whole, but instead base
the width request on only "unellipsizable" children. For some reason
the system menu ended up there, so the name is now allowed to grow
indefinitely.

Remove it from the list of size children to get the intended behavior
back.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/400

7 years agoUpdate Turkish translation
Serdar Sağlam [Sat, 9 Feb 2019 20:28:53 +0000 (20:28 +0000)]
Update Turkish translation

7 years agoUpdate Finnish translation
Jiri Grönroos [Sat, 9 Feb 2019 18:57:01 +0000 (18:57 +0000)]
Update Finnish translation

7 years agouserWidget: Add back missing import
Florian Müllner [Sat, 9 Feb 2019 17:49:41 +0000 (18:49 +0100)]
userWidget: Add back missing import

This was accidentally dropped in commit a1534dab026.

7 years agokeyboard: Make items in language menu unfocusable
Florian Müllner [Tue, 11 Sep 2018 16:00:22 +0000 (18:00 +0200)]
keyboard: Make items in language menu unfocusable

The menu grabs the key focus when opened, which takes focus away from
whichever actor triggered the keyboard. And as the menu doesn't have
any text entries, the keyboard is popped down as a result.

Prevent this by making the menu items unfocusable, so the keyboard
focus just stays where it is. Considering that the menu is part
of the on-screen keyboard itself, not being keyboard-navigatable
isn't a big deal here.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/171

7 years agopopupMenu: Respect items' :can-focus property
Florian Müllner [Tue, 11 Sep 2018 15:55:36 +0000 (17:55 +0200)]
popupMenu: Respect items' :can-focus property

Menu items use a single 'active' state that follows both hover and
keyboard focus. It therefore makes sense for the active item to always
grab the focus, in particular as an item that is sensitive but not
focusable by keynav would be rather weird.

As it turns out, we do have a case that is weird enough where we want
exactly that, so only grab focus if the actor's :can-focus property
allows it.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/171

7 years agoUpdate Galician translation
Fran Dieguez [Sat, 9 Feb 2019 12:35:45 +0000 (12:35 +0000)]
Update Galician translation

7 years agolookingGlass: Include St in default imports instead of Gtk
Florian Müllner [Sat, 9 Feb 2019 03:56:58 +0000 (04:56 +0100)]
lookingGlass: Include St in default imports instead of Gtk

Until commit 467b7c1bcacebdc, the import used to leak into the
eval() environment, but not anymore. Add it back (and remove
Gtk, as it's not *that* useful).

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/398

7 years agocleanup: Use destructuring for imports from GI
Florian Müllner [Sat, 9 Feb 2019 03:21:36 +0000 (04:21 +0100)]
cleanup: Use destructuring for imports from GI

This is *much* nicer than repetitive "imports.gi" lines ...

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/399

7 years agocleanup: Clean up unused imports
Florian Müllner [Tue, 29 Jan 2019 01:10:26 +0000 (02:10 +0100)]
cleanup: Clean up unused imports

Spotted by eslint.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/399

7 years agoUpdated Czech translation
Marek Cernocky [Fri, 8 Feb 2019 08:41:49 +0000 (09:41 +0100)]
Updated Czech translation

7 years agoUpdate Japanese translation
Ryuta Fujii [Thu, 7 Feb 2019 13:10:37 +0000 (13:10 +0000)]
Update Japanese translation

7 years agoUpdate Catalan translation
Jordi Mas [Thu, 7 Feb 2019 07:58:20 +0000 (08:58 +0100)]
Update Catalan translation

7 years agoBump version to 3.31.90
Florian Müllner [Wed, 6 Feb 2019 22:44:53 +0000 (23:44 +0100)]
Bump version to 3.31.90

Update NEWS.

7 years agotests: Work around import dependency loop
Florian Müllner [Thu, 7 Feb 2019 00:56:29 +0000 (01:56 +0100)]
tests: Work around import dependency loop

The markup unit test currently fails with the following message:

  TypeError: class heritage MessageList.Message is not an object or null

This is because MessageList imports other modules that end up importing
MessageList themselves in order to inherit from one of its classes. But
as the MessageList imports hasn't finished yet (it's still processing
its own imports), that class hasn't been defined yet.

Work around that by importing Main first, so that the importer can
process imports in a proper order.

7 years agoUpdate Polish translation
Piotr Drąg [Wed, 6 Feb 2019 20:57:54 +0000 (21:57 +0100)]
Update Polish translation

7 years agoextensionUtils: Include some more helper functions
Florian Müllner [Sat, 14 Jul 2018 18:16:13 +0000 (20:16 +0200)]
extensionUtils: Include some more helper functions

Those functions originated in gnome-shell-extension's Convenience
module which is copied by almost every extension out there. Let's
make people's life just a little bit easier by including the code
ourselves.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/150

7 years agopanel: Restrict app menu width
Florian Müllner [Tue, 5 Feb 2019 00:11:43 +0000 (01:11 +0100)]
panel: Restrict app menu width

Window titles aren't restricted in length, so the menu may end up unwieldily
width. Commit 0bec76b6ee therefore limited the app context menus, but that
got accidentally dropped in commit 0ded0dbfd5. Add back the limitation and
extend it to the new app menu as well.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/624

7 years agopanel: Desaturate appmenu icon
Florian Müllner [Mon, 4 Feb 2019 23:30:41 +0000 (00:30 +0100)]
panel: Desaturate appmenu icon

Top bar icons are supposed to by symbolic, but not all applications
provide a symbolic icon. Make the stick out less by desaturating
the appmenu icon if a symbolic style is requested.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/624

7 years agobuild: Don't introspect ShellMenu
Florian Müllner [Thu, 4 Oct 2018 18:09:25 +0000 (20:09 +0200)]
build: Don't introspect ShellMenu

It is now only used internally by ShellApp to track remote actions,
so there's no need to expose it to javascript code.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/624

7 years agobuild: Remove remote menu support
Florian Müllner [Thu, 4 Oct 2018 15:21:21 +0000 (17:21 +0200)]
build: Remove remote menu support

It is now unused.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/624

7 years agoapp: Remove :menu property
Florian Müllner [Thu, 4 Oct 2018 17:20:40 +0000 (19:20 +0200)]
app: Remove :menu property

It is now unused.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/624

7 years agoapp: Don't rely on app menu to check for GtkApplications
Florian Müllner [Thu, 4 Oct 2018 17:11:05 +0000 (19:11 +0200)]
app: Don't rely on app menu to check for GtkApplications

As the app menu is being phased out, it is no longer a good indicator
for GtkApplications. Instead, base the check directly on the appropriate
D-Bus properties.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/624

7 years agowindowMenu: Remove fallback app menu support
Florian Müllner [Thu, 4 Oct 2018 15:14:00 +0000 (17:14 +0200)]
windowMenu: Remove fallback app menu support

With the app menu being phased out entirely, there's no good reason to
keep support for the fallback app menu in decorations either - the number
of applications that set an app menu and haven't embraced client-side
decorations is extremely small, and they should already have alternative
fallbacks for non-GNOME environment in place.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/624

7 years agopanel: Replace remote app menu
Florian Müllner [Thu, 4 Oct 2018 14:52:34 +0000 (16:52 +0200)]
panel: Replace remote app menu

Since the plans to retire the app menu were announced, nobody objected to
the removal of the menu content, however some concerns were raised about
the menu's secondary role as indicator.

Account for that by not removing the existing app menu, but replacing it
with a built-in menu similar to the existing app icon context menu.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/624

7 years agopanel: Ignore shell-shows-app-menu setting
Florian Müllner [Thu, 4 Oct 2018 14:52:34 +0000 (16:52 +0200)]
panel: Ignore shell-shows-app-menu setting

The GtkSettings was originally introduced to inform applications about
the desktop shell's capabilities, but users soon started to use it to
force GTK+ to show the app menu inside the application. We eventually
caved and also handled the setting ourselves to hide the in-shell app
menu to allow users to "move" it.

But now the remote app menu is in the process of being retired[0], and
will be replaced with a simple indicator that cannot be moved, so
stop following the GtkSetting.

[0] https://gitlab.gnome.org/GNOME/Initiatives/wikis/App-Menu-Retirement

https://gitlab.gnome.org/GNOME/gnome-shell/issues/624

7 years agopanel: Remove unused import
Florian Müllner [Thu, 4 Oct 2018 15:08:55 +0000 (17:08 +0200)]
panel: Remove unused import

https://gitlab.gnome.org/GNOME/gnome-shell/issues/624

7 years agoUpdate Japanese translation
Ryuta Fujii [Wed, 6 Feb 2019 14:20:41 +0000 (14:20 +0000)]
Update Japanese translation

7 years agoUpdate Catalan translation
Jordi Mas [Wed, 6 Feb 2019 13:40:51 +0000 (14:40 +0100)]
Update Catalan translation

7 years agoUpdate Japanese translation
Ryuta Fujii [Wed, 6 Feb 2019 12:00:12 +0000 (12:00 +0000)]
Update Japanese translation

7 years agoUpdated Czech translation
Marek Cernocky [Wed, 6 Feb 2019 11:01:59 +0000 (12:01 +0100)]
Updated Czech translation

7 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 6 Feb 2019 10:40:43 +0000 (11:40 +0100)]
Updated Spanish translation